home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 June / CHIP Haziran 2001.iso / prog / basic / 10 / setup.exe / wmploc.DLL / 256 / 4001 < prev    next >
Encoding:
Text File  |  2000-06-26  |  16.0 KB  |  195 lines

  1.  ■<!--    Windows Media Player Emmbedded OCX Audio Mini Mode     -->
  2. <theme>
  3. <view        
  4.         width="160" height="165"
  5.         scriptFile="res://wmploc.dll/RT_TEXT/#142;res://wmploc.dll/RT_TEXT/#4003;res://wmploc.dll/RT_TEXT/#132"
  6.         onload="InitMiniControls();InitVisualizations();"
  7.         timerInterval="4000"
  8.         ontimer="OnTimerTransport();"
  9. >
  10.     <subview id = "svLayoutSize" width = "160" height = "165"/>      
  11.     <player         
  12.         OpenState_onchange="OnOpenStateChangeTransport();OnOpenStateChangeViz();"
  13.         PlayState_onchange="OnPlayStateChangeTransport();OnPlayStateChangeViz();"
  14.         Status_onchange="OnStatusChangeTransport();"
  15.         Disconnect="OnDisconnectTransport();"
  16.         >
  17.         <network
  18.             BufferingProgress_onchange="OnBufferingChangeTransport();"
  19.             >
  20.         </network>
  21.     </player>
  22.                 
  23.     <subview id="svVideo"
  24.         top="0" left="0"
  25.         width="jscript:view.width" height="jscript:view.height-64"
  26.         zindex="2"
  27.         horizontalAlignment="stretch" 
  28.         verticalAlignment="stretch" 
  29.         backgroundColor="black"
  30.     >
  31.         <video
  32.             id="video1"
  33.             visible="false"
  34.             width="jscript:svVideo.width;" 
  35.             height="jscript:svVideo.height;"
  36.             horizontalAlignment="stretch" 
  37.             verticalAlignment="stretch" 
  38.             backgroundColor="black"
  39.             windowed="true"
  40.         >
  41.         </video>
  42.     </subview>
  43.         
  44.     <subview id="svVisual"
  45.         top="0" left="0"
  46.         width="jscript:view.width" height="jscript:view.height-64"
  47.         zindex="2"
  48.         horizontalAlignment="stretch" 
  49.         verticalAlignment="stretch"
  50.         enabled="true"
  51.         onClick="myeffect.next();"
  52.         backgroundColor="black"
  53.     >
  54.         <effects
  55.             id="myeffect"
  56.             visible="false"
  57.             width="jscript:svVisual.width;" 
  58.             height="jscript:svVisual.height;"
  59.             allowAll="true"
  60.             horizontalAlignment="stretch" 
  61.             verticalAlignment="stretch"
  62.             windowed="true"
  63.             currentEffectType="wmpprop:mediacenter.effectType"
  64.             currentPreset="wmpprop:mediacenter.effectPreset"
  65.             >
  66.         </effects>        
  67.     </subview>
  68.     <subview    id="svTransport"
  69.                 zindex="0" 
  70.                 left="0" top="jscript:view.height - 64" width="jscript:view.width" height="64" 
  71.                 backgroundColor="black"
  72.                 horizontalAlignment="stretch"
  73.                 verticalAlignment="bottom"
  74.     >
  75.             <button    id="imLeftBorder" zindex="1"
  76.                         left="0" top="0"
  77.                         width="15" height="64"
  78.                         image="res://wmploc.dll/RT_BITMAP/#370"
  79.                         enabled="false"
  80.             />
  81.             <button    id="imTiledBkg"   zindex="1"
  82.                         left="jscript:imLeftBorder.left+imLeftBorder.width;" top="0" 
  83.                         width="jscript:svTransport.width-30;" height="jscript:svTransport.height;"
  84.                         image="res://wmploc.dll/RT_BITMAP/#371"
  85.                         enabled="false"
  86.                         tiled="true"
  87.                         horizontalAlignment="stretch"
  88.             />
  89.             <button     id="imRightBorder"   zindex="1"
  90.                         left="jscript:imTiledBkg.left + imTiledBkg.width;" top="0"
  91.                         width="15" height="64"
  92.                         image="res://wmploc.dll/RT_BITMAP/#372"
  93.                         enabled="false"
  94.                         horizontalAlignment="right"
  95.             />
  96.             <text       id="metadata" zindex="2"
  97.                         left="15" top="3" 
  98.                         width="98" height="18" 
  99.                         fontsize="8"
  100.                         foregroundColor="#00FF00" backgroundColor="black" 
  101.                         value=""
  102.                         tooltip=""
  103.                         horizontalAlignment="stretch"
  104.                         onClick="OnClickMetaData();"
  105.                         />
  106.             <text       id="tracktime" zindex="2"
  107.                         left="jscript:view.width - 48" top="jscript:metadata.top;" 
  108.                         width="45" height="jscript:metadata.height" 
  109.                         fontsize="8"
  110.                         foregroundColor="#00FF00" backgroundColor="black" 
  111.                         justification="right"
  112.                         tooltip=""
  113.                         value="wmpprop:player.controls.currentPositionString"
  114.                         horizontalAlignment="right"
  115.                         />
  116.             <button        id="rew" visible="false" enabled="false" />
  117.             <button        id="ffwd" visible="false" enabled="false" />
  118.             <button        id="QualityIcon" visible="false" enabled="false" />
  119.                         
  120.             <button     id="play"   
  121.                         zindex="2"
  122.                         left="2" top="25"
  123.                         width="38" height="38"
  124.                         image="res://wmploc.dll/RT_BITMAP/#373"
  125.                         hoverImage="res://wmploc.dll/RT_BITMAP/#374" 
  126.                         downImage="res://wmploc.dll/RT_BITMAP/#375"
  127.                         disabledImage="res://wmploc.dll/RT_BITMAP/#376"
  128.                         upToolTip="res://wmploc.dll/RT_STRING/#1800"
  129.                         downToolTip="res://wmploc.dll/RT_STRING/#1801"
  130.                         onClick="playOnClick();"
  131.                         transparencyColor="#FF00FF"
  132.             />
  133.             <button     id="stop"   
  134.                         zindex="2"
  135.                         left="jscript:play.left + play.width + 1" top="jscript:play.top + 11"
  136.                         width="20" height="27"
  137.                         image="res://wmploc.dll/RT_BITMAP/#377"
  138.                         hoverImage="res://wmploc.dll/RT_BITMAP/#378" 
  139.                         downImage="res://wmploc.dll/RT_BITMAP/#379"
  140.                         disabledImage="res://wmploc.dll/RT_BITMAP/#380"
  141.                         upToolTip="res://wmploc.dll/RT_STRING/#1802"
  142.                         enabled="wmpenabled:controls.Stop"
  143.                         onClick="jscript:player.controls.Stop();"
  144.                         transparencyColor="#FF00FF"
  145.             />
  146.             <button     id="mute"
  147.                         zindex="2"
  148.                         left="jscript:view.width - 88" top="jscript:stop.top + 3"
  149.                         width="18" height="18"
  150.                         upToolTip="res://wmploc.dll/RT_STRING/#1807"
  151.                         downToolTip="res://wmploc.dll/RT_STRING/#1808"
  152.                         image="res://wmploc.dll/RT_BITMAP/#365"
  153.                         hoverImage="res://wmploc.dll/RT_BITMAP/#369"
  154.                         downImage="res://wmploc.dll/RT_BITMAP/#368"
  155.                         hoverDownImage="res://wmploc.dll/RT_BITMAP/#366"
  156.                         sticky="true"
  157.                         horizontalAlignment="right"
  158.                         down="wmpprop:player.settings.mute"
  159.                         onClick="player.settings.mute=down;"
  160.             />
  161.             <slider     id="seek"
  162.                         enabled="false"
  163.                         visible="false"
  164.             />
  165.             <slider     id="volume"   zindex="2" 
  166.                         left="jscript:mute.left + mute.width + 5" top="jscript:mute.top-1" 
  167.                         backgroundImage="res://wmploc.dll/RT_BITMAP/#421"
  168.                         forgroundImage="res://wmploc.dll/RT_BITMAP/#428"
  169.                         thumbImage="res://wmploc.dll/RT_BITMAP/#422"
  170.                         thumbHoverImage="res://wmploc.dll/RT_BITMAP/#430"
  171.                         thumbDownImage="res://wmploc.dll/RT_BITMAP/#429"
  172.                         min="0"
  173.                         value="wmpprop:player.settings.volume" 
  174.                         value_onchange="jscript:player.settings.volume=value; volumeOnChange();"
  175.                         toolTip="res://wmploc.dll/RT_STRING/#1810"
  176.                         borderSize="5"
  177.                         transparencyColor="#FF00FF"
  178.                         tiled="false"
  179.                         horizontalAlignment="right"
  180.             />
  181.     </subview>
  182.    
  183. </view>
  184. </theme>